package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>系统岗位表表 micro_system_post</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "系统岗位表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_system_post")
public class SystemPost implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 岗位编号
     */
    @ApiModelProperty(value = "岗位编号")
    private String postCode;


    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "岗位名称")
    private String postName;


    /**
     * 岗位排序
     */
    @ApiModelProperty(value = "岗位排序")
    private Integer postSort;


    /**
     * 岗位描述
     */
    @ApiModelProperty(value = "岗位描述")
    private String postDesc;


    /**
     * 岗位状态 1.启用 2.禁用
     */
    @ApiModelProperty(value = "岗位状态 1.启用 2.禁用")
    private Byte postStatus;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
